/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bugStatus;

/**
 *
 * 
 */
public abstract class BugStatus {

    private BugStatus antecessor;
    public abstract String getNome();
    
    public abstract BugStatus setNewState(BugStatus bugStatus) throws IllegalStatusChangeException;
    
    public BugStatus getAntecessor() {
        return antecessor;
    }

    public void setAntecessor(BugStatus antecessor) {
        this.antecessor = antecessor;
    }

   
}
